package com.zerdoor.dao;

import java.util.List;
import java.util.Map;

/**
 * Created by xiaoji on 2015/1/29.
 */
public interface MinorCodeDao {

    /**
     * 码表列表
     * @return
     */
    public List<Map<String, Object>> selectMinorCodeByMajorId(Map<String, Object> map);

    /**
     * 添加码表
     * @param map
     * @throws Exception
     */
    public void addMinorCode(Map<String, Object> map) throws Exception;

    /**
     * 编辑码表
     * @param map
     * @throws Exception
     */
    public void updateMinorCode(Map<String, Object> map) throws Exception;

    /**
     * 删除码表
     * @param map
     * @throws Exception
     */
    public void deleteMinorCode(Map<String, Object> map)throws Exception;

}
